{extend name="layout/layout" /}

{block name="content"}
<blockquote class="layui-elem-quote quoteBox">
    <form class="layui-form">
        <div class="layui-inline" >
            <!--<a href="{:url('admin/product/add')}" class="layui-btn layui-btn-normal add_btn">新增</a>-->
            <a href="javascript:;"  class="layui-btn layui-btn-normal add_btn"><i class="layui-icon"></i> 新增</a>
        </div>
        <div class="layui-inline searchBox" style="float:right;">
            <a href="{:url('admin/srole/index')}" class="layui-btn" data-type="reload">角色管理</a>
        </div>
        <div class="layui-inline searchBox"  style="float:right;margin-right: 10px;">
            <a href="{:url('admin/storecashier/index')}" class="layui-btn" data-type="reload">绑定收银机</a>
        </div>

    </form>
</blockquote>

<table id="dataTable" lay-filter="dataTable"></table>

<!--操作-->
<script type="text/html" id="handleBar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
</script>

<input type="hidden" class="datalist_url" value="{:url('admin/cashregister/index')}">
<input type="hidden" class="add_url" value="{:url('admin/setting/add')}">
<input type="hidden" class="edit_url" value="{:url('admin/setting/edit')}">
<input type="hidden" class="delete_url" value="{:url('admin/setting/delete')}">
{/block}

{block name="pagescript"}
<script>
    var DELETE_URL = "{:url('admin/product/delete')}";
</script>
<script src="__STATIC__/admin/pages/js/cashregister.js" type="text/javascript"></script>
{/block}